package com.cw.mapper;

import com.cw.beans.Zc_Type;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;

@Mapper
public class TypeMapperImpl implements TypeMapper{
    @Autowired
    private TypeMapper typeMapper;

    public Zc_Type getTypeById(int id) {
        return typeMapper.getTypeById(id);
    }

    public ArrayList<Zc_Type> gettype() {
        return typeMapper.gettype();
    }
}
